# Contributor: Maxim Karasev <begs@disroot.org>
# Maintainer: Maxim Karasev <begs@disroot.org>
pkgname=nvim-gruvbox
pkgver=0.0.0_git20220212
_commit=dc6bae93ded04ac542d429ff5cc87189dde44294
pkgrel=1
pkgdesc="lua port of gruvbox vim colorscheme"
url="https://github.com/ellisonleao/gruvbox.nvim"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
source="https://github.com/ellisonleao/gruvbox.nvim/archive/$_commit/nvim-gruvbox-$pkgver.tar.gz"
builddir="$srcdir/gruvbox.nvim-$_commit"
options="!check" # no tests

package() {
	install -d "$pkgdir"/usr/share/nvim/site
	cp -ra lua colors autoload "$pkgdir"/usr/share/nvim/site
	install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}

sha512sums="
f5780cd7b0f00d99321f8b98e8c7cd151b305199a48fa3936e523242f568ff1e6b5de6f7d0212fe5c28606e229eb2f4e939ead46d82912b4591f029e600eb144  nvim-gruvbox-0.0.0_git20220212.tar.gz
"
